[INFO] cloning repository https://github.com/d0c-s4vage/resmack_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d0c-s4vage/resmack_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd0c-s4vage%2Fresmack_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd0c-s4vage%2Fresmack_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17574446a74e6cb6f86e839efd1ee6e77e3fa5f6
[INFO] checking d0c-s4vage/resmack_rust against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd0c-s4vage%2Fresmack_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/d0c-s4vage/resmack_rust
[INFO] finished tweaking git repo https://github.com/d0c-s4vage/resmack_rust
[INFO] tweaked toml for git repo https://github.com/d0c-s4vage/resmack_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/d0c-s4vage/resmack_rust on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/d0c-s4vage/resmack_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tinytemplate v1.1.0
[INFO] [stderr]   Downloaded rand_isaac v0.2.0
[INFO] [stderr]   Downloaded rayon-core v1.7.0
[INFO] [stderr]   Downloaded criterion v0.3.2
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.63
[INFO] [stderr]   Downloaded oorandom v11.1.1
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.63
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.63
[INFO] [stderr]   Downloaded criterion-plot v0.4.2
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.63
[INFO] [stderr]   Downloaded js-sys v0.3.40
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.63
[INFO] [stderr]   Downloaded rayon v1.3.0
[INFO] [stderr]   Downloaded web-sys v0.3.40
[INFO] [stderr]   Downloaded csv v1.1.3
[INFO] [stderr]   Downloaded plotters v0.2.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379
[INFO] running `Command { std: "docker" "start" "b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.2
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking oorandom v11.1.1
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking plotters v0.2.15
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking criterion-plot v0.4.2
[INFO] [stderr]     Checking rand_hc v0.2.0
[INFO] [stderr]     Checking rand_isaac v0.2.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking rand_xorshift v0.2.0
[INFO] [stderr]     Checking resmack v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `pre_output`
[INFO] [stdout]    --> src/fields.rs:730:9
[INFO] [stdout]     |
[INFO] [stdout] 730 |         pre_output: &mut Vec<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_output`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unresolved_refs`
[INFO] [stdout]    --> src/rules.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         unresolved_refs: &mut HashSet<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unresolved_refs`
[INFO] [stdout]    --> src/rules.rs:228:48
[INFO] [stdout]     |
[INFO] [stdout] 228 |     pub fn calc_shortest_ref_length(&mut self, unresolved_refs: &mut HashSet<String>) -> usize {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |             panic!(format!("Could not build rule for rule_idx {}", rule_idx));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 213 -             panic!(format!("Could not build rule for rule_idx {}", rule_idx));
[INFO] [stdout] 213 +             panic!("Could not build rule for rule_idx {}", rule_idx);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:576:28
[INFO] [stdout]     |
[INFO] [stdout] 576 |             None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 576 -             None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)),
[INFO] [stdout] 576 +             None => panic!("Rule {:?} was never resolved", self.ref_rule),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:598:20
[INFO] [stdout]     |
[INFO] [stdout] 598 |               panic!(format!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 599 | |                 "{} was never resolved! Was finalize not called?",
[INFO] [stdout] 600 | |                 self
[INFO] [stdout] 601 | |             ));
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 598 ~             panic!(
[INFO] [stdout] 599 |                 "{} was never resolved! Was finalize not called?",
[INFO] [stdout] 600 |                 self
[INFO] [stdout] 601 ~             );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rules.rs:386:58
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn new(rule_map: &'a BTreeMap<String, usize>) -> RefFetcher {
[INFO] [stdout]     |                           -- the lifetime is named here  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn new(rule_map: &'a BTreeMap<String, usize>) -> RefFetcher<'a> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_output`
[INFO] [stdout]    --> src/fields.rs:730:9
[INFO] [stdout]     |
[INFO] [stdout] 730 |         pre_output: &mut Vec<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_output`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stdout] warning: unused variable: `unresolved_refs`
[INFO] [stdout]    --> src/rules.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         unresolved_refs: &mut HashSet<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unresolved_refs`
[INFO] [stdout]    --> src/rules.rs:228:48
[INFO] [stdout]     |
[INFO] [stdout] 228 |     pub fn calc_shortest_ref_length(&mut self, unresolved_refs: &mut HashSet<String>) -> usize {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PreFlush` is never constructed
[INFO] [stdout]   --> src/fields.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Item {
[INFO] [stdout]    |          ---- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 28 |     PreFlush,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_options` is never used
[INFO] [stdout]    --> src/fields.rs:494:12
[INFO] [stdout]     |
[INFO] [stdout] 395 | impl Or {
[INFO] [stdout]     | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 494 |     pub fn print_options(&self, shortest: bool, prefix: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_item` is never used
[INFO] [stdout]     --> src/fields.rs:1037:12
[INFO] [stdout]      |
[INFO] [stdout] 1018 | impl PreId {
[INFO] [stdout]      | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1037 |     pub fn add_item<T: Convertible>(mut self, item: T) -> Self {
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/fields.rs:1167:12
[INFO] [stdout]      |
[INFO] [stdout] 1166 | impl Scoped {
[INFO] [stdout]      | ----------- associated function in this implementation
[INFO] [stdout] 1167 |     pub fn new<T: Convertible>(item: T) -> Self {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_rule_or` is never used
[INFO] [stdout]   --> src/rules.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl RuleList {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn get_rule_or(&self, rule_idx: usize) -> &RefCell<Or> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules_root` is never read
[INFO] [stdout]   --> src/rules.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct RuleSet {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     pub rules_root: Rc<RefCell<Box<RuleList>>>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |             panic!(format!("Could not build rule for rule_idx {}", rule_idx));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 213 -             panic!(format!("Could not build rule for rule_idx {}", rule_idx));
[INFO] [stdout] 213 +             panic!("Could not build rule for rule_idx {}", rule_idx);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:576:28
[INFO] [stdout]     |
[INFO] [stdout] 576 |             None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 576 -             None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)),
[INFO] [stdout] 576 +             None => panic!("Rule {:?} was never resolved", self.ref_rule),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:598:20
[INFO] [stdout]     |
[INFO] [stdout] 598 |               panic!(format!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 599 | |                 "{} was never resolved! Was finalize not called?",
[INFO] [stdout] 600 | |                 self
[INFO] [stdout] 601 | |             ));
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 598 ~             panic!(
[INFO] [stdout] 599 |                 "{} was never resolved! Was finalize not called?",
[INFO] [stdout] 600 |                 self
[INFO] [stdout] 601 ~             );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rules.rs:386:58
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn new(rule_map: &'a BTreeMap<String, usize>) -> RefFetcher {
[INFO] [stdout]     |                           -- the lifetime is named here  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn new(rule_map: &'a BTreeMap<String, usize>) -> RefFetcher<'a> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking tinytemplate v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]     Checking criterion v0.3.2
[INFO] [stdout] warning: unused variable: `pre_output`
[INFO] [stdout]    --> src/fields.rs:730:9
[INFO] [stdout]     |
[INFO] [stdout] 730 |         pre_output: &mut Vec<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_output`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unresolved_refs`
[INFO] [stdout]    --> src/rules.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         unresolved_refs: &mut HashSet<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unresolved_refs`
[INFO] [stdout]    --> src/rules.rs:228:48
[INFO] [stdout]     |
[INFO] [stdout] 228 |     pub fn calc_shortest_ref_length(&mut self, unresolved_refs: &mut HashSet<String>) -> usize {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |             panic!(format!("Could not build rule for rule_idx {}", rule_idx));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 213 -             panic!(format!("Could not build rule for rule_idx {}", rule_idx));
[INFO] [stdout] 213 +             panic!("Could not build rule for rule_idx {}", rule_idx);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:576:28
[INFO] [stdout]     |
[INFO] [stdout] 576 |             None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 576 -             None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)),
[INFO] [stdout] 576 +             None => panic!("Rule {:?} was never resolved", self.ref_rule),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:598:20
[INFO] [stdout]     |
[INFO] [stdout] 598 |               panic!(format!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 599 | |                 "{} was never resolved! Was finalize not called?",
[INFO] [stdout] 600 | |                 self
[INFO] [stdout] 601 | |             ));
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 598 ~             panic!(
[INFO] [stdout] 599 |                 "{} was never resolved! Was finalize not called?",
[INFO] [stdout] 600 |                 self
[INFO] [stdout] 601 ~             );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rules.rs:386:58
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn new(rule_map: &'a BTreeMap<String, usize>) -> RefFetcher {
[INFO] [stdout]     |                           -- the lifetime is named here  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn new(rule_map: &'a BTreeMap<String, usize>) -> RefFetcher<'a> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/rules.rs:646:29
[INFO] [stdout]     |
[INFO] [stdout] 646 |                 _ => panic!(format!("Id {:?} did not exist", rule_name)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 646 -                 _ => panic!(format!("Id {:?} did not exist", rule_name)),
[INFO] [stdout] 646 +                 _ => panic!("Id {:?} did not exist", rule_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_output`
[INFO] [stdout]    --> src/fields.rs:730:9
[INFO] [stdout]     |
[INFO] [stdout] 730 |         pre_output: &mut Vec<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_output`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unresolved_refs`
[INFO] [stdout]    --> src/rules.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         unresolved_refs: &mut HashSet<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unresolved_refs`
[INFO] [stdout]    --> src/rules.rs:228:48
[INFO] [stdout]     |
[INFO] [stdout] 228 |     pub fn calc_shortest_ref_length(&mut self, unresolved_refs: &mut HashSet<String>) -> usize {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_options` is never used
[INFO] [stdout]    --> src/fields.rs:494:12
[INFO] [stdout]     |
[INFO] [stdout] 395 | impl Or {
[INFO] [stdout]     | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 494 |     pub fn print_options(&self, shortest: bool, prefix: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_rule_or` is never used
[INFO] [stdout]   --> src/rules.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl RuleList {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn get_rule_or(&self, rule_idx: usize) -> &RefCell<Or> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules_root` is never read
[INFO] [stdout]   --> src/rules.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct RuleSet {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     pub rules_root: Rc<RefCell<Box<RuleList>>>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |             panic!(format!("Could not build rule for rule_idx {}", rule_idx));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 213 -             panic!(format!("Could not build rule for rule_idx {}", rule_idx));
[INFO] [stdout] 213 +             panic!("Could not build rule for rule_idx {}", rule_idx);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:576:28
[INFO] [stdout]     |
[INFO] [stdout] 576 |             None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 576 -             None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)),
[INFO] [stdout] 576 +             None => panic!("Rule {:?} was never resolved", self.ref_rule),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/fields.rs:598:20
[INFO] [stdout]     |
[INFO] [stdout] 598 |               panic!(format!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 599 | |                 "{} was never resolved! Was finalize not called?",
[INFO] [stdout] 600 | |                 self
[INFO] [stdout] 601 | |             ));
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 598 ~             panic!(
[INFO] [stdout] 599 |                 "{} was never resolved! Was finalize not called?",
[INFO] [stdout] 600 |                 self
[INFO] [stdout] 601 ~             );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rules.rs:386:58
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn new(rule_map: &'a BTreeMap<String, usize>) -> RefFetcher {
[INFO] [stdout]     |                           -- the lifetime is named here  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn new(rule_map: &'a BTreeMap<String, usize>) -> RefFetcher<'a> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/rules.rs:646:29
[INFO] [stdout]     |
[INFO] [stdout] 646 |                 _ => panic!(format!("Id {:?} did not exist", rule_name)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 646 -                 _ => panic!(format!("Id {:?} did not exist", rule_name)),
[INFO] [stdout] 646 +                 _ => panic!("Id {:?} did not exist", rule_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.64s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379", kill_on_drop: false }`
[INFO] [stdout] b4ef63056d7fed71a85765ddca47eb105f42727ce9ccc1aae1130eee39c9e379
